<?php
namespace app\index\model;

use think\Model;

class Item extends Model
{

    protected $connection = ['prefix' => 'd_'];

    //初始化方法
    protected function initialize()
    {

        parent::initialize();
        $this->table = 'd_item';
    }
}
